package com.etc.entity;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class UsersMap implements RowMapper<Users> {

	@Override
	public Users mapRow(ResultSet arg0, int arg1) throws SQLException {
		Users users=new Users();
		users.setUserId(arg0.getInt("userId"));
		users.setUserName(arg0.getString("userName"));
		return users;
	}

}
